xl: Provide and use xvasprintf and xasprintf internally
authorIan Jackson <ian.jackson@eu.citrix.com>
Mon, 15 Jun 2015 14:35:32 +0000 (15:35 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 16 Jul 2015 15:58:59 +0000 (16:58 +0100)
commitabf4ba2a92a4117b6f6e8d705a5a129304954af8
tree61d91d940b004c41fd9cba25d3d667d318f3054a
parent2d2ec3086b2b58c6cab00b798189ff80138eed24
xl: Provide and use xvasprintf and xasprintf internally

Replace all calls to [v]asprintf with this new function.  This removes
a fair amount of bespoke error handling.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/xl_cmdimpl.c